/**
 * Perform the element default action.
 *
 * @param {JSEvent} event the event that triggered the action
 *
 * @properties={typeid:24,uuid:"A0AACB6D-010C-4DB3-A5C2-60DC51CA7CEF"}
 */
function baja(event) {
	var $res = globals.DIALOGS.showQuestionDialog('Confirmación','¿Seguro que desea dar de baja?','Si','No')
	if ($res == 'Si')
	{
		globals.gBajaOpago()
	}
	
}

/**
 * Perform the element default action.
 *
 * @param {JSEvent} event the event that triggered the action
 *
 * @properties={typeid:24,uuid:"376FA460-5655-4A0C-8470-5C7D7F0377EA"}
 */
function cancelar(event) {
	var $win = application.getWindow('opago_baja')
	$win.hide()
	$win.destroy()
}
